<ion-view view-title="登录/注册">
  <ion-content class="has-header">
      <ion-slide-box class="login-con has-header"  show-pager="false" delegate-handle="loginSlide" on-slide-changed="slideMove()">
         <ion-slide>
                <div class="list list-inset login-hover">
                    <label class="item item-input">
                     <i class="ion-ios-person-outline"></i>&nbsp;&nbsp;&nbsp;
	            <input type="text" ng-model="getLogin.name" placeholder="账号">
            </label>
                    <label class="item item-input">
                     <i class="ion-ios-locked-outline"></i>&nbsp;&nbsp;&nbsp;
                <input type="password" ng-model="getLogin.password" placeholder="密码">
            </label>
                    <div class="text-center">
                    </div>
                    <div class="item text-center">
                        <button class="button button-balanced" ng-click="login()" style="width:100%;min-height:35px;line-height:35px;">登陆</button>
                    </div>
                </div>
            </ion-slide>
            <ion-slide>
                <div class="list list-inset login-hover">
                    <label class="item item-input">
                     <i class="ion-ios-person-outline"></i>&nbsp;&nbsp;&nbsp;
	            <input type="text" ng-model="getRegister.name" placeholder="账号">
            </label>
                    <label class="item item-input">
                     <i class="ion-ios-email-outline"></i>&nbsp;&nbsp;&nbsp;
	            <input type="text" ng-model="getRegister.email" placeholder="邮箱">
            </label>
                    <label class="item item-input">
                     <i class="ion-ios-locked-outline"></i>&nbsp;&nbsp;&nbsp;
                <input type="password" ng-model="getRegister.password" placeholder="密码">
            </label>
                    <div class="text-center">
                    </div>
                    <div class="item text-center">
                        <button class="button button-balanced" ng-click="register()"  style="width:100%;min-height:35px;line-height:35px;">注册</button>
                    </div>
                </div>
            </ion-slide>
	  </ion-slide-box>
  </ion-content>
  <ion-tabs class="tabs-striped tabs-top tabs-color-active-balanced" delegate-handle="loginTab">
        <ion-tab on-select="loginSelectedTab(0)" title="登陆"></ion-tab>
        <ion-tab on-select="loginSelectedTab(1)" title="注册"></ion-tab>
  </ion-tabs>
</ion-view>
